package com.itheima.api.arraylist;

import java.util.ArrayList;

/**
 * @author Anomaly
 * @date 2022/12/6 18:54
 */
public class ArrayListDemo {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();
        arrayList.add("Java");
        arrayList.add("Java");
        arrayList.add("Py");
        arrayList.add("Mysql");
        arrayList.add(25);
        arrayList.add(true);
        System.out.println(arrayList);
        arrayList.add(1, "c艹");
        System.out.println(arrayList);
    }
}
